package com.xxyf.pojo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.sql.Date;
import java.util.List;

@Data
@AllArgsConstructor
@Accessors(chain = true)
@NoArgsConstructor
@ApiModel("用户账号表")
public class Username implements Serializable {

  @ApiModelProperty("id")
  private long id;
  @ApiModelProperty("账号")
  private String account;
  @ApiModelProperty("密码")
  private String password;
  @ApiModelProperty("用户名称")
  private String username;
  @ApiModelProperty("管理")
  private long administrator;
  @ApiModelProperty("乐观锁")
  private Integer version;
  @ApiModelProperty("创建时间")
  private Date gtmCreate;
  @ApiModelProperty("更新时间")
  private Date gtmModifide;
  @ApiModelProperty("逻辑删除")
  private Integer deleted;
  @ApiModelProperty("关联用户信息表")
  private List<Userinfo> userinfo;
  @ApiModelProperty("关联计划表")
  private List<Userplan> userplan;
  @ApiModelProperty("关联单词表")
  private List<Usernoto> usernoto;
}
